package com.lajiaomian.springbootruijiwaimai.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lajiaomian.springbootruijiwaimai.dto.DishDto;
import com.lajiaomian.springbootruijiwaimai.pojo.Dish;

/**
 * @author lajiaomian
 * @create 2022-08-13-10:26
 */
public interface DishService extends IService<Dish> {
    //得到菜品的数量
    Long CountCategoryId(Long categoryId);
    //同时保存dish和dishFlavor信息
    void saveDishDto(DishDto dishDto);
    //根据id获取DishDto信息
    DishDto getDishById(Long id);
    //更新dishDto信息
    void updateDishDto(DishDto dishDto);
}
